home *** CD-ROM | disk | FTP | other *** search
/ Amiga MA Magazine 1998 #3 / amigamamagazinepolishissue1998.iso / maksiu / lists / amoslist-1295.lzh / AMOSLIST / 000093_amos-request@svcs1.digex.net_Fri Dec 15 20:19:19 1995.msg < prev    next >
Internet Message Format  |  1995-12-31  |  2KB

  1. Received: from svcs1.digex.net (svcs1.digex.net [204.91.197.224]) by mail1.access.digex.net (8.6.12/8.6.12) with ESMTP id UAA08243;  for <mcox@access.digex.net> ; Fri, 15 Dec 1995 20:19:17 -0500
  2. Received: (from daemon@localhost) by svcs1.digex.net (8.6.12/8.6.12) id JAA06781 for amos-out; Wed, 6 Dec 1995 09:32:10 -0500
  3. Received: from mail1.access.digex.net (mail1.access.digex.net [205.197.247.2]) by svcs1.digex.net (8.6.12/8.6.12) with ESMTP id JAA06774 for <amos-list@svcs1.digex.net>; Wed, 6 Dec 1995 09:32:08 -0500
  4. Received: from agora.stm.it (agora.stm.it [194.20.43.1]) by mail1.access.digex.net (8.6.12/8.6.12) with ESMTP id JAA19574;  for <amos-list@access.digex.net> ; Wed, 6 Dec 1995 09:32:05 -0500
  5. From: M.Berionne@agora.stm.it
  6. Received: (from root@localhost) by agora.stm.it (8.6.8.1/8.6.6) id PAA05452; Wed, 6 Dec 1995 15:33:04 GMT
  7. Message-Id: <199512061533.PAA05452@agora.stm.it>
  8. To: amos-list@access.digex.net
  9. Subject: Multi Wait??
  10. Date: Wed,  6 Dec 95 15:26:27 GMT
  11. Status: RO
  12. X-Status: 
  13.  
  14.  
  15.  
  16. MC> Do
  17. MC>     If Joy(1)
  18. MC>         X Mouse = X Mouse + (Jleft(1) - Jright(1))
  19. MC>         Y Mouse = Y Mouse + (Jup(1)   - Jdown(1) )
  20. MC>         Wait Vbl
  21. MC>     End If
  22. MC> Loop
  23. MC>
  24. MC> (Spot the way my code has not been formatted by Amos :-) )
  25. MC> Notice that it is personal taste whether to leave the Wait Vbl inside
  26. MC> or outside the If...End If
  27.  
  28.  a> Well, normally it isn't personal taste but sheer userfriendlyness to
  29.  
  30. put
  31.  a> the Wait Vbl outside the loop and use Multi Wait instead Wait Vbl where
  32.  a> possible.
  33.  
  34. Why Multi Wait??
  35.  
  36.  
  37.       _____________________________________________________________
  38.       |   \ | /   Michele Berionne             Not tonight dear,  |
  39.       |    \|/                                 I have a modem!!   |
  40.       |   --*--   M.Berionne@agora.stm.it                         |
  41.       |    /|\                                 Don't panic!!      |
  42.       |   / | \                                                   |
  43.       | BASIC programmers never die, they GOSUB and don't RETURN. |
  44.       |-----------------------------------------------------------|
  45.       *            On AMINET:                                     *
  46.       * game/shoot/fantasy.lha         game/think/atoms.lha       *
  47.       * game/shoot/in_the_target.lha   game/think/navalbattle.lha *
  48.       *                                                           *
  49.       */\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/*
  50.  
  51.  
  52.  
  53.